package myky.com.doctorapp.contract;

import java.util.List;

import io.reactivex.Observable;
import myky.com.doctorapp.base.BaseEntity;
import myky.com.doctorapp.base.BaseView;
import myky.com.doctorapp.entity.DoctorEntity;
import myky.com.doctorapp.entity.TeamEntity;

public interface DoctorDeatailsContract {
    interface Model {

        Observable<BaseEntity<DoctorEntity.PayLoadEntity>> getDoctorDeatails(String doctorId, String version);


        Observable<BaseEntity<List<TeamEntity.DataEntity>>> getTeamInfo(String version, String doctorid);

    }

    interface View extends BaseView<DoctorEntity.PayLoadEntity> {

        void showDoctorDeatails(DoctorEntity.PayLoadEntity doctorDeatails);

        void showTeams(List<TeamEntity.DataEntity> teamEntityList);
    }

    interface Presenter {
        void getDoctorDeatails(String doctorId, String version);

        void getTeamInfo(String version, String doctorid);
    }
}
